//
//  FYPageScrollView.h
//  滚动视图接口
//
//  Created by dllo on 15/9/29.
//  Copyright (c) 2015年 直到世界的尽头. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "FitHeader.h"

@protocol FYScrollerViewDelegate <NSObject>

-(void)FYScrollerViewDidClicked:(NSInteger)index;
@end

@interface FYPageScrollView : UIView<UIScrollViewDelegate>

@property(nonatomic, retain)UIScrollView *scrollView;
@property(nonatomic, retain)NSMutableArray *picArray;
@property(nonatomic, retain)UIPageControl *pageControl;
@property(nonatomic, assign)id<FYScrollerViewDelegate> delegate;
-(id)initWithFrame:(CGRect)frame
          PicArray:(NSArray *)array;

@end
